package com.ruoyi.file.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("文件信息返回对象")
public class FileInfoVo extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "文件编码")
    private String code;
    @ApiModelProperty(value = "文件名")
    private String newFileName;
    @ApiModelProperty(value = "文件存储路径url")
    private String url;
//    @ApiModelProperty(value = "文件大小（字节）")
//    private Long fileSize;
//    @ApiModelProperty(value = "文件MIME类型")
//    private String fileType;
//    @ApiModelProperty(value = "Minio存储桶名称")
//    private String bucketName;
//    @ApiModelProperty(value = "文件MD5值（用于去重校验）")
//    private String fileMd5;
//    @ApiModelProperty(value = "文件分类（如：image, video, document等）")
//    private String fileCategory;
    @ApiModelProperty(value = "业务类型（关联的业务模块）")
    private String businessType;
    @ApiModelProperty(value = "备注信息")
    private String remark;
//    @ApiModelProperty(value = "文件状态")
//    private Boolean fileStatus=true;

    @ApiModelProperty(value = "数据所属单位")
    private Long deptId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "修改人")
    private String updateBy;
}
